package edu.sctu.practice.class01.wangxiaoqiang.practice.test_01;

import java.util.Scanner;

/**
 * Created by admin on 2015/10/9.
 */
public class NumOfScanner {
    Scanner scanner;

    public int getNum() {
        System.out.println("请输入：");
        scanner = new Scanner(System.in);
        int value = scanner.nextInt();
        return value;
    }
}
